﻿using AnesSystem.Models;
using Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace AnesSystem.ViewModels
{
    public abstract class ViewModel : ObservableObject
    {

        #region Variables
        private Visibility isPrint = Visibility.Visible;

        private PatientLinkModel _patientLink;




        #endregion

        #region Constructor

        #endregion

        #region Properties

        public PatientLinkModel PatientLink
        {
            get
            {
                return DataManager.Instance.CurrentPatientLink;
            }
            set
            {
                RaisePropertyChanged("PatientLink");
            }
        }
        public Visibility IsPrint
        {
            get
            {
                return isPrint;
            }

            set
            {
                isPrint = value;
                RaisePropertyChanged("IsPrint");
            }
        }


        #endregion

        #region 依赖属性

        #endregion

        #region Event

        #endregion

        #region Private Methods

        #endregion

        #region Public/Protected Methods

        public virtual void UdpRef(PatientLinkModel pm)
        {

        }

        #endregion

        #region EventHandlers

        #endregion
    }
}
